<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>硬复位 - 餐馆放置</title>
<script>
function HardResetGame() {
	window.localStorage.length;
	window.localStorage.removeItem('v');
	window.localStorage.removeItem('date');
	window.localStorage.removeItem('version');
	window.localStorage.removeItem('gameState');
	window.localStorage.removeItem('gameData');
	window.localStorage.removeItem('perkData');
	window.localStorage.removeItem('deliveryData');
	window.localStorage.removeItem('tierupData');
	window.localStorage.removeItem('selectStarterRestaurantData');
	window.localStorage.removeItem('history');
	//window.localStorage.clear(); 
	if (localStorage) {
		localStorage.length;
		localStorage.removeItem('v');
		localStorage.removeItem('date');
		localStorage.removeItem('version');
		localStorage.removeItem('gameState');
		localStorage.removeItem('gameData');
		localStorage.removeItem('perkData');
		localStorage.removeItem('deliveryData');
		localStorage.removeItem('tierupData');
		localStorage.removeItem('selectStarterRestaurantData');
		localStorage.removeItem('history');
		//localStorage.clear(); 
	}
	
	if (localStorage.length > 2) {
	
	}
	//await sleep(2000);
	//window.history.go(-1);
}

function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}

</script>			
</head>
<body oncontextmenu="return false" style="padding-top: 100px; text-align: center; background: #ccc;">
<script src="chs.js?202106041511"></script>
<script src="//g8hh.com/zh/core.js"></script>
	⚠️ <b>Warning! This is the page for hard resetting the game progress.</b> ⚠️<br>
	<b>This is not a game mechanic and should only be used when absolutely necessary.</b><br>
	Note: in Firefox you might need to <i>quickly</i> refresh the game after the reset before it auto-saves again.
	<br>
	<br>
	
	<button style="background: #2d2d79; vertical-align: middle;color: #eee; font-weight: bold; padding: 20px;" onClick="window.history.go(-1); return false;">Go Back</button>
	<br><br><br><br>
	<button style="background: #792d2d; vertical-align: middle;color: #eee; font-weight: bold;" onClick="if (confirm('Are you sure you want to DELETE all your progress?')) {HardResetGame()}">Hard Reset</button>
</body>			
</html>
<!--客服 开始-->
<script src="//g8hh.com/static/js/jquery.min.js"></script>
<link rel="stylesheet" href="//g8hh.com/static/css/kf.css" type="text/css" media="screen" charset="utf-8">
<script src="//g8hh.com/static/js/kf.js"></script>
<!-- 客服 结束 -->
<!--站长统计-->
    <div style="display: none">
        <script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=1279902880&web_id=1279902880"></script>
    </div>